package cn.tedu.oa.notice.entity;

import cn.tedu.oa.common.entity.BaseEntity;

import java.util.Date;

/**
 * 公告通知实体类
 */

public class Notice extends BaseEntity {

    private Integer id;           /*公告id*/
    private Integer  type;        /*公告：通知、公告*/
    private String  title;        /*公告标题*/
    private Date    startTime;    /*发布时间*/
    private String  publisher;    /*发布人*/
    private String  department;   /*发布部门*/
    private Integer  status;      /*公告状态：一般、重要、紧急*/
    private String  context;      /*公告内容*/

    @Override
    public Integer getId() {
        return id;
    }

    @Override
    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }
}
